package com.ecoolex.chinadutyfree.retailer.core.mapper;

import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsDeliveryManner;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsDeliveryMannerExample;
import com.ecoolex.framework.common.annotation.Description;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DirectMailGoodsDeliveryMannerMapper {
    long countByExample(DirectMailGoodsDeliveryMannerExample example);

    int deleteByExample(DirectMailGoodsDeliveryMannerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DirectMailGoodsDeliveryManner record);

    int insertSelective(@Param("record") DirectMailGoodsDeliveryManner record, @Param("selective") DirectMailGoodsDeliveryManner.Column ... selective);

    DirectMailGoodsDeliveryManner selectOneByExample(DirectMailGoodsDeliveryMannerExample example);

    List<DirectMailGoodsDeliveryManner> selectByExample(DirectMailGoodsDeliveryMannerExample example);

    DirectMailGoodsDeliveryManner selectByPrimaryKey(Integer id);

    DirectMailGoodsDeliveryManner selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DirectMailGoodsDeliveryManner record, @Param("example") DirectMailGoodsDeliveryMannerExample example, @Param("selective") DirectMailGoodsDeliveryManner.Column ... selective);

    int updateByExample(@Param("record") DirectMailGoodsDeliveryManner record, @Param("example") DirectMailGoodsDeliveryMannerExample example);

    int updateByPrimaryKeySelective(@Param("record") DirectMailGoodsDeliveryManner record, @Param("selective") DirectMailGoodsDeliveryManner.Column ... selective);

    int updateByPrimaryKey(DirectMailGoodsDeliveryManner record);

    int batchInsert(@Param("list") List<DirectMailGoodsDeliveryManner> list);

    int batchInsertSelective(@Param("list") List<DirectMailGoodsDeliveryManner> list, @Param("selective") DirectMailGoodsDeliveryManner.Column ... selective);

    int logicalDeleteByExample(@Param("example") DirectMailGoodsDeliveryMannerExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}